//package com.promote.common.properties;
//
//public class PropertiesReader {
//
//    private static final Logger logger = LoggerFactory.getLogger(PropertiesReader.class);
//
//    public static Map<String, String> cacheProperties(String propName) {
//	Map<String, String> map = new HashMap<String, String>();
//	try {
//	    ClassPathResource cp = new ClassPathResource(propName + ".properties");
//	    Properties properties = new OrderedProperties();
//	    properties.load(cp.getInputStream());
//	    for (Iterator<?> its = properties.keySet().iterator(); its.hasNext();) {
//		String zkey = (String) its.next();
//		map.put(zkey, properties.getProperty(zkey).trim());
//	    }
//	} catch (IOException e) {
//	    logger.error("load {} properties error!", propName, e);
//	}
//	return map;
//    }
//}
